@extends('home.template.personal')

@section('title','掏我喜欢')

@section('content')
<div class="center">
			<div class="col-main">
				<div class="main-wrap">
					@foreach($res as $res)
					<?php if($res->status=='1'){ ?>
					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">创建鱼塘</strong> / <small>Personal&nbsp;information</small></div>
						</div>
						<hr/>
						
						<!--头像 -->
						<div class="user-infoPic">

							<div>
								<img width="300px" height="100px" src="{{$res->file}}" alt="" />
							</div>
						</div>
						<!--个人信息 -->
						<div class="info-main">
							<form class="am-form am-form-horizontal">
								{{csrf_field()}}
								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">鱼塘名称</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name='name' value="{{$res->name}}" placeholder="nickname">

									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name" class="am-form-label">鱼塘简介</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name="introduction" value="introduction" placeholder="name">

									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name" class="am-form-label">背景图片</label>
									<div class="am-form-content">
										<input type="file" name="file" id="user-name2" placeholder="file">

									</div>
								</div>

								<div class="am-form-group">
									<label for="user-birth" class="am-form-label">地址</label>
									<div class="am-form-content birth">
										<div class="birth-select">
											<select data-am-selected>
												<option value="b">1987</option>
											</select>
											<em>省</em>
										</div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="b">8</option>
											</select>
											<em>市</em></div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="b">23</option>
											</select>
											<em>县</em></div>
									</div>
							
								</div>
								<div class="am-form-group">
									<label for="user-birth" class="am-form-label">鱼塘类别</label>
									<div class="am-form-content birth">
										<div class="birth-select">
											<select data-am-selected>
												<option value="b">1987</option>
											</select>
											<em>省</em>
										</div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="b">8</option>
											</select>
											<em>市</em></div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="b">23</option>
											</select>
											<em>县</em></div>
									</div>
							
								</div>
								<div class="info-btn">
									<div class="am-btn am-btn-danger">保存修改</div>
								</div>

							</form>
						</div>
						
					</div>
					<?php }else{ ?>
					<div class="user-info">
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">鱼塘正在审核中。。。。。</strong>  <small></small></div>
						</div>						
					</div>
					<?php } ?>
					@endforeach
				</div>
				<!--底部-->
@endsection
